sizeof operator
From Cppreference
Queries size of the object or type
Used when actual size of the object must be known
Contents |
[edit] Syntax
| sizeof( type ) | |||||||||
| sizeof( expression ) | |||||||||
Both versions return an object of type std::size_t.
[edit] Explanation
1) returns size in bytes of any instance of type.
2) returns size in bytes of any instance of the type, that would be returned by expression, if evaluated.
[edit] Keywords
[edit] Example
| This section is incomplete |